package com.swas.service;

import com.github.pagehelper.PageInfo;
import com.swas.entity.PatrolPoint;

import java.util.List;

public interface PatrolPointService {
    PageInfo<PatrolPoint> list(Integer pageNum, Integer pageSize, String pointNo, String pointName, String address);

    void add(PatrolPoint patrolPoint);

    void update(PatrolPoint patrolPoint);

    void delete(Integer id);

    List<PatrolPoint> getPatrolPointByTaskId(Integer taskId);

    List<PatrolPoint> getPatrolPointByPlanId(Integer planId);

    List<PatrolPoint> all();

    PatrolPoint getPatrolPointByPointNo(String pointNo);
}
